package com.tiancheng.trade.settlement.vo.settlement.admin.res;

import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;


/**
 * 清分异常数据查询
 */
@Data
public class AbnormalDataResVO {

    private String id;
    private String status;
    private LocalDate clearDate;//清分日期
    private String abnormalType; //异常类型 1:平台和银行都有  2:平台有银行无 3:平台无银行有
    private String orderId;//主订单号
    private String subOrderId;//子订单号
    private String subMchId;//商户号
    private String merchantName;//商户名称
    private String productCode;//
    private String productName;//产品名称产品编号
    private String payAcctName;//付款方
    private String colAcctName;//收款方
    private Integer clearAmount;//平台清分金额
    private Integer clearCount;//平台清分记帐数
    private Integer billCount;//对帐次数
    private Integer errorAmount;//差额金额
    private String bankOrderId;//招行订单号
    private String clearBatchNo;//招行清分批次号
    private Integer bankClearAmount;//银行清分金额
    private Integer bankClearCount;//银行清分记帐数
    private LocalDate statementDate;//银行帐单日期
    private LocalDateTime shouldBillDate;//对帐日期

    public Integer getClearAmount() {
        if (null == clearAmount) {
            clearAmount = 0;
        }
        return clearAmount;
    }

    public Integer getClearCount() {
        if (null == clearCount) {
            clearCount = 0;
        }
        return clearCount;
    }

    public Integer getBillCount() {
        if (null == billCount) {
            billCount = 0;
        }
        return billCount;
    }

    public Integer getErrorAmount() {
        if (null == errorAmount) {
            errorAmount = 0;
        }
        return errorAmount;
    }

    public Integer getBankClearAmount() {
        if (null == bankClearAmount) {
            bankClearAmount = 0;
        }
        return bankClearAmount;
    }

    public Integer getBankClearCount() {
        if (null == bankClearCount) {
            bankClearCount = 0;
        }
        return bankClearCount;
    }

}
